package com.prs.crm.domain.person;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * 
 * @author Yanghao
 * 2012-6-25 16:29:15 档案管理
 */
@Entity
@Table(name="per_dossier")
public class Dossier extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	/**员工姓名*/
	private String name;
	/**居住地址*/
	private String adress;
	/**生日*/
	private Date birthday;
	/**第一次工作时间*/
	private Date firstWorkTime;
	/**籍贯*/
	private String nativePlace;
	/**毕业学校*/
	private String finishSchool;
	/**身份证号码*/
	private String number;
	/**毕业时间*/
	private Date finishTime;
	/**民族*/
	private String nation;
	/**政治面貌*/
	private String politicsStatus;
	/**外语物种*/
	private String foreginLanguage;
	/**外语级别*/
	private String foreginLevel;
	/**职称专业*/
	private String jobMajor;
	/**职业资格证书*/
	private String certificate;
	/**省市*/
	private String province;
	/**专业*/
	private String major;
	/**特长*/
	private String speciality;
	/**爱好*/
	private String love;
	/**备注*/
	private String remark;
	/**办公地址*/
	private String workAdress;
	/**办公电话*/
	private String workPhone;
	/**办公传真*/
	private String workFax;
	/**办公邮箱*/
	private String workEmail;
	/**家庭地址*/
	private String familyAdress;
	/**家庭电话*/
	private String familyPhone;
	/**移动电话*/
	private String phone;
	/**个人电子邮箱*/
	private String email;
	/**工号*/
	private String jobNumber;
	/**劳动保险号*/
	private String ldbxNum;
	/**医疗保险号*/
	private String ylbxNum;
	/**行政职务*/
	private String xzzw;
	/**公积金号*/
	private String gjjNum;
	/**行政职别*/
	private String xzzb;
	/**社保编号*/
	private String shebaoNum;
	/**档案性质*/
	private String dossierQuale;
	/**养老参保日期*/
	private Date ylTime;
	/**档案号*/
	private String dossierNum;
	/**生育参保日期*/
	private Date syTime;
	/**档案所在地*/
	private String dossierAdress;
	/**工伤参保日期*/
	private Date gsTime;
	/**入职时间*/
	private Date careerTime;
	/**工资*/
	private Double money;
	/**试用期*/
	private Date tryDate;
	/**离职时间*/
	private Date leaveTime;
	/**工龄*/
	private int workAge;
	/**部门*/
	@ManyToOne
	private Department department;
	/**岗位*/
	@ManyToOne
	private PostSet postSet;
	/**性别*/
	@ManyToOne
	private StaffSex staffSex;
	/**婚姻状态*/
	@ManyToOne
	private MarriageState marriageState;
	/**学历*/
	@ManyToOne
	private Education education;
	/**学位*/
	@ManyToOne
	private Degree degree;
	/**职称*/
	@ManyToOne
	private JobTypeTitle jobTypeTitle;
	/**员工状态*/
	@ManyToOne
	private StaffState staffState;
	/**编制*/
	@ManyToOne
	private  Weave weave;
	/**离职类别*/
	@ManyToOne
	private Dimission dimission;
	/**照片*/
	@Column(name="pic_img")
	private String picImg;
	/**简历附件*/
	@Column(name="resume_file")
	private String resumeFile;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAdress() {
		return adress;
	}
	public void setAdress(String adress) {
		this.adress = adress;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Date getFirstWorkTime() {
		return firstWorkTime;
	}
	public void setFirstWorkTime(Date firstWorkTime) {
		this.firstWorkTime = firstWorkTime;
	}
	public String getNativePlace() {
		return nativePlace;
	}
	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}
	public String getFinishSchool() {
		return finishSchool;
	}
	public void setFinishSchool(String finishSchool) {
		this.finishSchool = finishSchool;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getPoliticsStatus() {
		return politicsStatus;
	}
	public void setPoliticsStatus(String politicsStatus) {
		this.politicsStatus = politicsStatus;
	}
	public String getForeginLanguage() {
		return foreginLanguage;
	}
	public void setForeginLanguage(String foreginLanguage) {
		this.foreginLanguage = foreginLanguage;
	}
	public String getForeginLevel() {
		return foreginLevel;
	}
	public void setForeginLevel(String foreginLevel) {
		this.foreginLevel = foreginLevel;
	}
	public String getJobMajor() {
		return jobMajor;
	}
	public void setJobMajor(String jobMajor) {
		this.jobMajor = jobMajor;
	}
	public String getCertificate() {
		return certificate;
	}
	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getSpeciality() {
		return speciality;
	}
	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}
	public String getLove() {
		return love;
	}
	public void setLove(String love) {
		this.love = love;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getWorkAdress() {
		return workAdress;
	}
	public void setWorkAdress(String workAdress) {
		this.workAdress = workAdress;
	}
	public String getWorkPhone() {
		return workPhone;
	}
	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}
	public String getWorkFax() {
		return workFax;
	}
	public void setWorkFax(String workFax) {
		this.workFax = workFax;
	}
	public String getWorkEmail() {
		return workEmail;
	}
	public void setWorkEmail(String workEmail) {
		this.workEmail = workEmail;
	}
	public String getFamilyAdress() {
		return familyAdress;
	}
	public void setFamilyAdress(String familyAdress) {
		this.familyAdress = familyAdress;
	}
	public String getFamilyPhone() {
		return familyPhone;
	}
	public void setFamilyPhone(String familyPhone) {
		this.familyPhone = familyPhone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getLdbxNum() {
		return ldbxNum;
	}
	public void setLdbxNum(String ldbxNum) {
		this.ldbxNum = ldbxNum;
	}
	public String getXzzw() {
		return xzzw;
	}
	public void setXzzw(String xzzw) {
		this.xzzw = xzzw;
	}
	public String getGjjNum() {
		return gjjNum;
	}
	public void setGjjNum(String gjjNum) {
		this.gjjNum = gjjNum;
	}
	public String getXzzb() {
		return xzzb;
	}
	public void setXzzb(String xzzb) {
		this.xzzb = xzzb;
	}
	public String getShebaoNum() {
		return shebaoNum;
	}
	public void setShebaoNum(String shebaoNum) {
		this.shebaoNum = shebaoNum;
	}
	public String getDossierQuale() {
		return dossierQuale;
	}
	public void setDossierQuale(String dossierQuale) {
		this.dossierQuale = dossierQuale;
	}
	public Date getYlTime() {
		return ylTime;
	}
	public void setYlTime(Date ylTime) {
		this.ylTime = ylTime;
	}
	public String getDossierNum() {
		return dossierNum;
	}
	public void setDossierNum(String dossierNum) {
		this.dossierNum = dossierNum;
	}
	public Date getSyTime() {
		return syTime;
	}
	public void setSyTime(Date syTime) {
		this.syTime = syTime;
	}
	public String getDossierAdress() {
		return dossierAdress;
	}
	public void setDossierAdress(String dossierAdress) {
		this.dossierAdress = dossierAdress;
	}
	public Date getGsTime() {
		return gsTime;
	}
	public void setGsTime(Date gsTime) {
		this.gsTime = gsTime;
	}
	public Date getCareerTime() {
		return careerTime;
	}
	public void setCareerTime(Date careerTime) {
		this.careerTime = careerTime;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Date getTryDate() {
		return tryDate;
	}
	public void setTryDate(Date tryDate) {
		this.tryDate = tryDate;
	}
	public Date getLeaveTime() {
		return leaveTime;
	}
	public void setLeaveTime(Date leaveTime) {
		this.leaveTime = leaveTime;
	}
	public int getWorkAge() {
		return workAge;
	}
	public void setWorkAge(int workAge) {
		this.workAge = workAge;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public PostSet getPostSet() {
		return postSet;
	}
	public void setPostSet(PostSet postSet) {
		this.postSet = postSet;
	}
	public StaffSex getStaffSex() {
		return staffSex;
	}
	public void setStaffSex(StaffSex staffSex) {
		this.staffSex = staffSex;
	}
	public MarriageState getMarriageState() {
		return marriageState;
	}
	public void setMarriageState(MarriageState marriageState) {
		this.marriageState = marriageState;
	}
	public Education getEducation() {
		return education;
	}
	public void setEducation(Education education) {
		this.education = education;
	}
	public Degree getDegree() {
		return degree;
	}
	public void setDegree(Degree degree) {
		this.degree = degree;
	}
	public JobTypeTitle getJobTypeTitle() {
		return jobTypeTitle;
	}
	public void setJobTypeTitle(JobTypeTitle jobTypeTitle) {
		this.jobTypeTitle = jobTypeTitle;
	}
	public StaffState getStaffState() {
		return staffState;
	}
	public void setStaffState(StaffState staffState) {
		this.staffState = staffState;
	}
	public Weave getWeave() {
		return weave;
	}
	public void setWeave(Weave weave) {
		this.weave = weave;
	}
	public Dimission getDimission() {
		return dimission;
	}
	public void setDimission(Dimission dimission) {
		this.dimission = dimission;
	}
	public String getPicImg() {
		return picImg;
	}
	public void setPicImg(String picImg) {
		this.picImg = picImg;
	}
	public String getResumeFile() {
		return resumeFile;
	}
	public void setResumeFile(String resumeFile) {
		this.resumeFile = resumeFile;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getYlbxNum() {
		return ylbxNum;
	}
	public void setYlbxNum(String ylbxNum) {
		this.ylbxNum = ylbxNum;
	}
	public String getJobNumber() {
		return jobNumber;
	}
	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}
}
